package com.lx.view;

import java.io.IOException;
import java.net.URL;
import java.util.ResourceBundle;
import java.util.logging.Level;
import java.util.logging.Logger;


import com.lx.controller.MainApp;
import javafx.application.Application;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.TextField;
import javafx.stage.Stage;

public class IndexView extends Application {


    public static void main(String[] args) {
        launch();
    }

    @Override
    public void start(Stage stage) throws IOException {
        // 加载视图文件
        FXMLLoader loader = new FXMLLoader(getClass().getResource("indexController.fxml"));
        Scene scene = new Scene(loader.load());
        stage.setTitle("fxml窗体");
        stage.setScene(scene);
        stage.show();
    }
}

